home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-03-09 | 999 b | 44 lines | [TEXT/MPS ] |
-
- // ---- End Project Data ----
-
-
- // ---- File picker.t ----
- baseView :=
- {title: "DynaPick",
- viewBounds: {left: 0, top: 24, right: 192, bottom: 304},
- _proto: protoApp,
- debug: "baseView"
- };
-
- nosePicker := /* child of baseView */
- {viewBounds: {left: 19, top: 67, right: 177, bottom: 169},
- labelCommands: ["First Thang","Second Thang","Third Thang","Fourth Thang"],
- pickerSetup:
- func()
- begin
- //This function creates the view that
- // "pops up" *every time* the view is tapped.
-
- local lameArray := [];
-
- for i := 1 to 5 do
- Append(lameArray,GetRandomWord(8,20));
- //Sticks in random choices
-
- labelCommands := Clone(lameArray);
- true //See protolabelpicker docs
- end,
- _proto: protoLabelPicker,
- debug: "nosePicker"
- };
- // View nosePicker is declared to baseView
-
-
-
-
-
-
-
- // ---- Beginning of section for non used Layout files ----
-
- // End of output